import React from 'react'
import dongtaiStyle from './css/dongtai.module.css'
import { Flex } from 'antd-mobile'
import Release from './release'
import { withRouter, HashRouter as Router, Route, Switch } from "react-router-dom"
import Content from './content'
import Dt_Details from './dt_details'
import Top from './meun'
import Share from './share'

@withRouter
class Dongtai extends React.Component {

    render() {
        return (
            <Router>
                <Top/>
                <Switch>
                    <Route path='/dongtai2/release' component={Release} />
                    <Route path='/dongtai2/share' component={Share}/>
                    <Route path='/dongtai2/dt_details' component={Dt_Details}/>
                    <Route component={Content} />
                </Switch>
            </Router>

        )
    }
}

export default Dongtai
